package woaini.wind.bot.core.executor;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ExecutorConfig {

  @Bean
   public ExecutorService getExecutorService(){
     return Executors.newVirtualThreadPerTaskExecutor();
   }

}
